<template>
  <div id="baseLayout">
    <a-layout style="min-height: 100vh">
      <a-layout-header class="header">
        <GlobalHeader />
      </a-layout-header>
      <a-layout-content class="content">
        <router-view />
      </a-layout-content>
      <a-layout-footer class="footer">
        <a target="_blank" href="https://www.baidu.com"
          >编程导航知识星球 by QJ</a
        >
      </a-layout-footer>
    </a-layout>
  </div>
</template>
<style scoped>
#baseLayout {
}
#baseLayout .header {
  margin-bottom: 16px;
  box-shadow: 1px 3px 5px #eee;
}
#baseLayout .content {
  background: linear-gradient(to right, rgb(231, 225, 225), #fff);
  margin-bottom: 16px;
  padding: 20px;
}
#baseLayout .footer {
  background-color: #d6e0e1;
  padding: 16px;
  position: sticky;
  bottom: 0;
  right: 0;
  left: 0;
  text-align: center;
  font-size: x-small;
  font-weight: bolder;
  color: black;
}
</style>
<script>
import GlobalHeader from "@/components/GlobalHeader";
export default {
  components: {
    GlobalHeader,
  },
};
</script>
